<?php
/**
 * Created by PhpStorm.
 * User: yangjiaming
 * Date: 2018/2/4
 * Time: 21:59
 */
use Halo\Controller;
class BaseController extends Controller
{
    public function inputResult($data = [])
    {
        $result = array(
            'data' => $data['data'],
            'code' => 0,
            'remind' => time(),
            'count' => $data['statistic']['count']
        );

        echo json_encode($result);
    }
}